package org.netty.framework.tcpserver.tcp;

import org.netty.framework.core.codec.CustomMsg;

/**
 * tcp request,封装了请求数据
 * @author chenfanglin
 * @date 2018年9月29日下午4:51:04
 */
public class TcpServerRequest<T extends CustomMsg<?>> {

	public TcpServerRequest() {}
	
	public TcpServerRequest(T msg) {
		this.msg = msg;
	}

	private T msg;

	public T getMsg() {
		return msg;
	}

	public void setMsg(T msg) {
		this.msg = msg;
	}
	
}
